package com.meilishuo.message.entity.common;

public class BaseEnum {

	//用户类型 普通用户/管理员/客服／财务／老总／运营/护工
	public enum UserType{
		NORMAL((int)1), ADMIN((int)2), SERVICE((int)3), FINANCE((int)4), BOSS((int)5), OPERATION((int)6),WORKER((int)7);
		private int value;
		UserType(int value) {
			this.value = value;
		}
		public int getValue() {
			return value;
		}
		public void setValue(int value) {
			this.value = value;
		}
	}
	
	//验证码类型
	public enum SecurityCodeType{
		REGISTER((int)0), FORGOT_PASSWORD((int)1);
		private int value;
		SecurityCodeType(int value) {
			this.value = value;
		}
		public int getValue() {
			return value;
		}
		public void setValue(int value) {
			this.value = value;
		}
	}
	
	//商品状态 已上架/已下架/删除
	public enum CommodityStatus{
		PUBLISHED((byte)1), CANCELED((byte)0),DELETED((byte)2);
		private byte value;
		CommodityStatus(byte value) {
			this.value = value;
		}
		public byte getValue() {
			return value;
		}
		public void setValue(byte value) {
			this.value = value;
		}
	}
	//未审核，审核中，审核通过，审核不通过
	public enum CommodityCheckStatus{
		UNCHECK((byte)0),CHECKING((byte)1),PASSED((byte)2),UNPASSED((byte)3);
		private byte value;
		CommodityCheckStatus(byte value){
			this.value = value;
		}
		public byte getValue() {
			return value;
		}
		public void setValue(byte value) {
			this.value = value;
		}
	}
	
	//订单状态 已取消/已下单(未支付)/服务中/服务终止(未结算,待付款)/已完成/已评价
		public enum OrderStatus {
			CANCELED((byte) 0), ORDERED((byte) 1), INSERVICE((byte)2),COMPLETE((byte)3),REVIEWED((byte)4),END((byte)5);
			private Byte value;
			
			OrderStatus(Byte value) {
				this.value = value;
			}

			public Byte getValue() {
				return value;
			}

			public void setValue(Byte value) {
				this.value = value;
			}
		}
		//护工状态 待岗／在岗／离岗
		public enum WorkerStatus{
			WAITINGLIST((byte)0),FULLY((byte)1),UNDERGO((byte)2),DELETED((byte)-1);
			private Byte value;
			WorkerStatus(Byte value){
				this.value = value;
			}
			
			public Byte getValue() {
				return value;
			}
			
			public void setValue(Byte value) {
				this.value = value;
			}
		}
		//评价状态
		public enum EvaluateStatus{
			UNACTIVE((byte)0),active((byte)1);
			private Byte value;
			EvaluateStatus(Byte value){
				this.value = value;
			}
			public Byte getValue() {
				return value;
			}
			
			public void setValue(Byte value) {
				this.value = value;
			}
		}
		//付款状态 未付／已付
		public enum payStatus{
			UNPAY((byte)0),PAYED((byte)1);
			private Byte value;
			payStatus(Byte value){
				this.value = value;
			}
			public Byte getValue() {
				return value;
			}
			
			public void setValue(Byte value) {
				this.value = value;
			}
		}
		//普通用户状态 删除／正常／拉黑
		public enum NormalUserType{
			DELETED((byte)-1),NORMAL((byte)1),BLACK((byte)2);
			private Byte value;
			NormalUserType(Byte value){
				this.value = value;
			}
			public Byte getValue() {
				return value;
			}
			
			public void setValue(Byte value) {
				this.value = value;
			}
		}
		//客服状态 删除／正常
		public enum ServiceType{
			DELETE((byte)-1),NORMAL((byte)1);
			private Byte value;
			ServiceType(Byte value){
				this.value = value;
			}
			public Byte getValue() {
				return value;
			}
			
			public void setValue(Byte value) {
				this.value = value;
			}
		}
		//广告状态 正常／禁用
		public enum AdvertisingType{
			able((byte)1),disabled((byte)0);
			private Byte value;
		   AdvertisingType(byte value) {
				this.value = value;
			}
			public Byte getValue() {
				return value;
			}
			
			public void setValue(Byte value) {
				this.value = value;
			}
		}
		//用户状态 正常／拉黑／删除
		public enum UserStatus{
			NORMAL((byte)1),BLACK((byte)0),DELETE((byte)2);
			private Byte value;
			UserStatus(byte value){
				 this.value = value;
			}
			public Byte getValue() {
				return value;
			}
			
			public void setValue(Byte value) {
				this.value = value;
			}
		}
		//商户状态 正常／冻结／删除
		public enum AgencyStatus{
			NORMAL((byte)1),FROSEN((byte)2),DELETED((byte)0);
			private Byte value;
			AgencyStatus(Byte value) {
				this.value = value;
			}
			public Byte getValue() {
				return value;
			}
			
			public void setValue(Byte value) {
				this.value = value;
			}
		}
	public static final String THUMBNAILS = "?imageMogr2/auto-orient/strip/thumbnail/500x500>/gravity/Center/crop/450x330";
}
